]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: get rid of title label
authorRay Strode <rstrode@redhat.com>
Mon, 4 Feb 2013 21:52:14 +0000 (16:52 -0500)
committerRay Strode <rstrode@redhat.com>
Tue, 19 Feb 2013 23:39:53 +0000 (18:39 -0500)
the login screen currently says "Sign In" at the top of it.

The latest mock ups don't have that.

This commit drops it.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

js/gdm/loginDialog.js

index d41b520efdc1b136ce9efb25fdfab4d9aac1fa81..c26d4cee71ab2bf115565bb15521c2daab54a26d 100644 (file)
@@ -722,14 +722,6 @@ const LoginDialog = new Lang.Class({
         this.contentLayout.add(this._bannerLabel);
         this._updateBanner();
 
-        this._titleLabel = new St.Label({ style_class: 'login-dialog-title',
-                                          text: C_("title", "Sign In"),
-                                          visible: false });
-
-        this.contentLayout.add(this._titleLabel,
-                              { y_fill: false,
-                                y_align: St.Align.START });
-
         this._userList = new UserList();
         this.contentLayout.add(this._userList.actor,
                                { expand: true,
@@ -1249,8 +1241,7 @@ const LoginDialog = new Lang.Class({
                          this._userList.actor.hide();
                      },
 
-                     new Batch.ConcurrentBatch(this, [this._fadeOutTitleLabel,
-                                                      this._fadeOutNotListedButton]),
+                     this._fadeOutNotListedButton,
 
                      function() {
                          return this._askForUsernameAndLogIn();
@@ -1263,8 +1254,7 @@ const LoginDialog = new Lang.Class({
     _showUserList: function() {
         let tasks = [this._hidePrompt,
 
-                     new Batch.ConcurrentBatch(this, [this._fadeInTitleLabel,
-                                                      this._fadeInNotListedButton]),
+                     this._fadeInNotListedButton,
 
                      function() {
                          this._sessionList.close();
@@ -1291,14 +1281,6 @@ const LoginDialog = new Lang.Class({
         return GdmUtil.fadeOutActor(this._bannerLabel);
     },
 
-    _fadeInTitleLabel: function() {
-        return GdmUtil.fadeInActor(this._titleLabel);
-    },
-
-    _fadeOutTitleLabel: function() {
-        return GdmUtil.fadeOutActor(this._titleLabel);
-    },
-
     _fadeInNotListedButton: function() {
         return GdmUtil.fadeInActor(this._notListedButton);
     },
@@ -1331,8 +1313,7 @@ const LoginDialog = new Lang.Class({
                          return this._userList.giveUpWhitespace();
                      },
 
-                     new Batch.ConcurrentBatch(this, [this._fadeOutTitleLabel,
-                                                      this._fadeOutNotListedButton]),
+                     this._fadeOutNotListedButton,
 
                      function() {
                          return this._userList.shrinkToNaturalHeight();